package org.example.service;

import org.example.commonapi.domain.R;
import org.example.commonapi.domain.RecommendWord;
import org.example.commonapi.domain.Video;
import org.example.commonapi.vo.VideoVO;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface AiRecommendService {
    R<List<RecommendWord>> aiRecommendWord(String text, String from, String to);

    R<List<VideoVO>> getAiRecommendVideo(Integer videoId);

    R<List<VideoVO>> getHomeRecommendVideo(String subject);

    R<List<VideoVO>> getAiPersonalityVideo(HttpServletRequest request);

    R<List<VideoVO>> getAiRecommendTargetSubjectVideo(String subject);

    R<String> getAiJudgeAndRecommendBySynthesis(HttpServletRequest request);

    R<String> getAiJudgeAndRecommendByVideo(HttpServletRequest request);

    R<String> getAiJudgeAndRecommendByPractice(HttpServletRequest request);

    R<String> submitPracticeAnswer(Integer id, String answer, HttpServletRequest request);

    R<String> getAiTip(Integer id);

    R<List<VideoVO>> getVideoListByTeachContent(String chapterTitle);
}
